<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
hello: <div th:text="${username}"></div>
<span th:text="${#dates.format(date,'yyyy-MM-dd HH:mm:ss')}"></span>
<h2>前端请求测试</h2>
<a th:href="@{/login(username='lisi',passord='123456')}"></a>
</body>
</html>